//
//  SEGOrderDetailModel.h
//  Uhomebk
//
//  Created by mac on 2017/7/5.
//  Copyright © 2017年 com.segi. All rights reserved.
//  工单详情（其中包含的子模型在SEGOrderDetailChildModel、巡更、巡检中）

#import <Foundation/Foundation.h>
#import "SEGTemplateModel.h"
#import "SEGOrderActionModel.h"
#import "SEGOrderTrackInfoModel.h"
#import "SEGOrderBaseInfoModel.h"

@interface SEGOrderDetailModel : SEGBaseDataModel
#pragma mark - ================<1.工单基本信息>===============
@property(nonatomic,strong)SEGOrderBaseInfoModel *baseInfos;/**工单基本信息 */

#pragma mark - ================<2.工单详情信息 - 直接下发工单提单的模板数据>===============
@property (nonatomic, strong) NSArray <SEGTemplateModel *>* detailInfos;/**详情界面模板数据 */

#pragma mark - ================<3.工单处理动作表单列表>===============
@property (nonatomic, strong)NSArray <SEGOrderActionModel *> *actions;/**工单处理动作表单 */

#pragma mark - ================<4.工单轨迹信息>===============
@property (nonatomic, strong)NSArray <SEGOrderTrackInfoModel *> *trackInfos;/**工单处理动作表单 */

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
-(SEGOrderDetailModel *)addDataByDictionary:(NSDictionary *)dic;//工单源数据的更新

@property (nonatomic, strong) NSMutableDictionary * mDictionary;//当前模型的原始数据 - 兼容一些特殊业务需要

@end
